home *** CD-ROM | disk | FTP | other *** search
- '''apport package hook for compiz
-
- (c) 2009 Canonical Ltd.
- Author: Brian Murray <brian@ubuntu.com>
- '''
-
- from apport.hookutils import *
- from os import path
-
- def add_info(report):
-
- attach_file_if_exists(report, path.expanduser('~/.xsession-errors'), 'XsessionErrors')
- attach_file_if_exists(report, '/var/log/Xorg.0.log', 'XorgLog')
- attach_file_if_exists(report, '/var/log/Xorg.0.log.old', 'XorgLogOld')
- attach_hardware(report)
- report['GconfCompiz'] = command_output(['gconftool-2', '-R', '/apps/compiz'])
-